package com.olinsports.system.olinsportssystem.service;

import com.olinsports.system.olinsportssystem.model.SiteType;
import com.olinsports.system.olinsportssystem.model.StmUsr;
import com.olinsports.system.olinsportssystem.repository.SiteTypeRepository;
import com.olinsports.system.olinsportssystem.repository.StmUsrRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by Administrator on 2017/7/22.
 */
@Service
public class SiteTypeService {
    @Autowired
    private SiteTypeRepository siteTypeRepository;

    public List<SiteType> selectAll(){
        return siteTypeRepository.selectAll();
    }

   

}
